.class public Lcom/waiqin365/lightapp/view/CustomDeleteListView;
.super Lcom/waiqin365/lightapp/view/CustomForDeteleListview;


# instance fields
.field private K:I

.field private L:I

.field private M:F

.field private N:F

.field private O:I

.field private P:I

.field private Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

.field private R:Lcom/waiqin365/lightapp/view/cy;

.field private S:Lcom/baoyz/swipemenulistview/c;

.field private T:Lcom/baoyz/swipemenulistview/i;

.field private U:Lcom/waiqin365/lightapp/view/cx;

.field private V:Landroid/view/animation/Interpolator;

.field private W:Landroid/view/animation/Interpolator;

.field private Z:Landroid/widget/BaseAdapter;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const/4 v0, 0x5

    iput v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->K:I

    const/4 v0, 0x3

    iput v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->L:I

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->B:Landroid/content/Context;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->i()V

    return-void
.end method

.method private a(I)I
    .locals 3

    const/4 v0, 0x1

    int-to-float v1, p1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v2

    invoke-static {v0, v1, v2}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F

    move-result v0

    float-to-int v0, v0

    return v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/CustomDeleteListView;)Lcom/baoyz/swipemenulistview/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->S:Lcom/baoyz/swipemenulistview/c;

    return-object v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/view/CustomDeleteListView;)Lcom/baoyz/swipemenulistview/i;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->T:Lcom/baoyz/swipemenulistview/i;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/view/CustomDeleteListView;)Lcom/waiqin365/lightapp/view/cx;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->U:Lcom/waiqin365/lightapp/view/cx;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/view/CustomDeleteListView;)Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    return-object v0
.end method

.method private i()V
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->L:I

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->a(I)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->L:I

    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->K:I

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->a(I)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->K:I

    const/4 v0, 0x0

    iput v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->O:I

    return-void
.end method


# virtual methods
.method public a()Landroid/view/animation/Interpolator;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->W:Landroid/view/animation/Interpolator;

    return-object v0
.end method

.method public b()Landroid/view/animation/Interpolator;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->V:Landroid/view/animation/Interpolator;

    return-object v0
.end method

.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 10

    const/4 v6, 0x0

    const/4 v9, 0x2

    const/4 v8, 0x3

    const/4 v3, 0x0

    const/4 v4, 0x1

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    if-nez v0, :cond_0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    :goto_0
    return v0

    :cond_0
    invoke-static {p1}, Landroid/support/v4/view/MotionEventCompat;->getActionMasked(Landroid/view/MotionEvent;)I

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :cond_1
    :goto_1
    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto :goto_0

    :pswitch_0
    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->P:I

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    iput v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->M:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v1

    iput v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->N:F

    iput v3, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->O:I

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    float-to-int v1, v1

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v2

    float-to-int v2, v2

    invoke-virtual {p0, v1, v2}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->pointToPosition(II)I

    move-result v1

    iput v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->P:I

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->P:I

    if-ne v1, v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;->a()Z

    move-result v0

    if-eqz v0, :cond_2

    iput v4, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->O:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;->a(Landroid/view/MotionEvent;)Z

    move v0, v4

    goto :goto_0

    :cond_2
    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->P:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->getFirstVisiblePosition()I

    move-result v1

    sub-int/2addr v0, v1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    move v2, v3

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Z:Landroid/widget/BaseAdapter;

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/a/g;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/a/g;->getCount()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-ge v2, v0, :cond_4

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->getFirstVisiblePosition()I

    move-result v0

    sub-int v0, v2, v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    instance-of v5, v0, Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    if-eqz v5, :cond_3

    check-cast v0, Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    if-eqz v0, :cond_3

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;->a()Z

    move-result v5

    if-eqz v5, :cond_3

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;->b()V

    iput-object v6, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    move v0, v4

    goto :goto_0

    :cond_3
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_2

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;->a()Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;->b()V

    iput-object v6, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v0

    invoke-virtual {v0, v8}, Landroid/view/MotionEvent;->setAction(I)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move v0, v4

    goto/16 :goto_0

    :cond_5
    instance-of v0, v1, Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    if-eqz v0, :cond_6

    move-object v0, v1

    check-cast v0, Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;->a(Landroid/view/MotionEvent;)Z

    :cond_7
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->z:Z

    if-eqz v0, :cond_1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->A:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->b:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->q:I

    if-nez v0, :cond_8

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->m:Z

    if-nez v0, :cond_8

    iput-boolean v4, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->m:Z

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    float-to-int v0, v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->p:I

    :cond_8
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    float-to-int v0, v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->s:I

    goto/16 :goto_1

    :pswitch_1
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->N:F

    sub-float/2addr v0, v1

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v1

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    iget v2, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->M:F

    sub-float/2addr v0, v2

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v2

    const/high16 v0, 0x43160000    # 150.0f

    cmpg-float v0, v1, v0

    if-gtz v0, :cond_d

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Z:Landroid/widget/BaseAdapter;

    if-eqz v0, :cond_1

    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->P:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->getHeaderViewsCount()I

    move-result v5

    sub-int/2addr v0, v5

    if-gez v0, :cond_9

    move v0, v4

    goto/16 :goto_0

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Z:Landroid/widget/BaseAdapter;

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/a/g;

    const-string/jumbo v5, "1"

    iget v6, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->P:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->getHeaderViewsCount()I

    move-result v7

    sub-int/2addr v6, v7

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/kaoqin/a/g;->a(I)Lcom/waiqin365/lightapp/kaoqin/c/a/d;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->i:Ljava/lang/String;

    invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->O:I

    if-ne v0, v4, :cond_b

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    if-eqz v0, :cond_a

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;->a(Landroid/view/MotionEvent;)Z

    :cond_a
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->getSelector()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    new-array v1, v4, [I

    aput v3, v1, v3

    invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z

    invoke-virtual {p1, v8}, Landroid/view/MotionEvent;->setAction(I)V

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move v0, v4

    goto/16 :goto_0

    :cond_b
    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->O:I

    if-nez v0, :cond_1

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v0

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->K:I

    int-to-float v1, v1

    cmpl-float v0, v0, v1

    if-lez v0, :cond_c

    iput v9, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->O:I

    goto/16 :goto_1

    :cond_c
    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->L:I

    int-to-float v0, v0

    cmpl-float v0, v2, v0

    if-lez v0, :cond_1

    iput v4, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->O:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->R:Lcom/waiqin365/lightapp/view/cy;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->R:Lcom/waiqin365/lightapp/view/cy;

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->P:I

    invoke-interface {v0, v1}, Lcom/waiqin365/lightapp/view/cy;->a(I)V

    goto/16 :goto_1

    :cond_d
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->z:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->b:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    float-to-int v0, v0

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->m:Z

    if-nez v1, :cond_e

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->q:I

    if-nez v1, :cond_e

    iput-boolean v4, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->m:Z

    iput v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->p:I

    :cond_e
    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    if-eq v1, v9, :cond_1

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->m:Z

    if-eqz v1, :cond_1

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    const/4 v2, 0x4

    if-eq v1, v2, :cond_1

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->F:Z

    if-nez v1, :cond_1

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    if-nez v1, :cond_f

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->setSelection(I)V

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->p:I

    sub-int v1, v0, v1

    div-int/lit8 v1, v1, 0x3

    iget v2, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->o:I

    if-ge v1, v2, :cond_13

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->p:I

    sub-int v1, v0, v1

    if-lez v1, :cond_13

    iput v4, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->c()V

    :cond_f
    :goto_3
    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    if-ne v1, v4, :cond_10

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->setSelection(I)V

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->p:I

    sub-int v1, v0, v1

    div-int/lit8 v1, v1, 0x3

    iget v2, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->o:I

    if-lt v1, v2, :cond_14

    iput v3, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    iput-boolean v4, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->v:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->c()V

    :cond_10
    :goto_4
    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    if-ne v1, v8, :cond_11

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->p:I

    sub-int v1, v0, v1

    if-lez v1, :cond_11

    iput v4, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->c()V

    :cond_11
    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    if-ne v1, v4, :cond_12

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->b:Landroid/widget/LinearLayout;

    iget v2, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->o:I

    mul-int/lit8 v2, v2, -0x1

    iget v4, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->p:I

    sub-int v4, v0, v4

    div-int/lit8 v4, v4, 0x3

    add-int/2addr v2, v4

    invoke-virtual {v1, v3, v2, v3, v3}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    :cond_12
    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    if-nez v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->b:Landroid/widget/LinearLayout;

    iget v2, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->p:I

    sub-int/2addr v0, v2

    div-int/lit8 v0, v0, 0x3

    iget v2, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->o:I

    sub-int/2addr v0, v2

    invoke-virtual {v1, v3, v0, v3, v3}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    goto/16 :goto_1

    :cond_13
    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->p:I

    sub-int v1, v0, v1

    if-gtz v1, :cond_f

    iput v8, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->c()V

    goto :goto_3

    :cond_14
    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->p:I

    sub-int v1, v0, v1

    if-gtz v1, :cond_10

    iput v8, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->c()V

    goto :goto_4

    :pswitch_2
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->N:F

    sub-float/2addr v0, v1

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v0

    const/high16 v1, 0x42c80000    # 100.0f

    cmpg-float v0, v0, v1

    if-gtz v0, :cond_17

    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->O:I

    if-ne v0, v4, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    if-eqz v0, :cond_15

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;->a(Landroid/view/MotionEvent;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;->a()Z

    move-result v0

    if-nez v0, :cond_15

    const/4 v0, -0x1

    iput v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->P:I

    iput-object v6, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Q:Lcom/waiqin365/lightapp/view/adapter/SwipeMenuLayout;

    :cond_15
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->R:Lcom/waiqin365/lightapp/view/cy;

    if-eqz v0, :cond_16

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->R:Lcom/waiqin365/lightapp/view/cy;

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->P:I

    invoke-interface {v0, v1}, Lcom/waiqin365/lightapp/view/cy;->b(I)V

    :cond_16
    invoke-virtual {p1, v8}, Landroid/view/MotionEvent;->setAction(I)V

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move v0, v4

    goto/16 :goto_0

    :cond_17
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->z:Z

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->getFirstVisiblePosition()I

    move-result v0

    if-nez v0, :cond_1b

    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    if-eq v0, v9, :cond_1a

    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    const/4 v1, 0x4

    if-eq v0, v1, :cond_1a

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->F:Z

    if-nez v0, :cond_1a

    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    if-ne v0, v8, :cond_18

    :cond_18
    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    if-ne v0, v4, :cond_19

    iput v8, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->c()V

    :cond_19
    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    if-nez v0, :cond_1a

    iput v9, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->c()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->d()V

    :cond_1a
    :goto_5
    iput-boolean v3, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->m:Z

    iput-boolean v3, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->v:Z

    goto/16 :goto_1

    :cond_1b
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->getLastVisiblePosition()I

    move-result v0

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->r:I

    add-int/lit8 v1, v1, -0x1

    if-ne v0, v1, :cond_1a

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    float-to-int v0, v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->t:I

    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->s:I

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->t:I

    sub-int/2addr v0, v1

    const/16 v1, 0x96

    if-le v0, v1, :cond_1a

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->D:Z

    if-eqz v0, :cond_1a

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->E:Z

    if-nez v0, :cond_1a

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->F:Z

    if-nez v0, :cond_1a

    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->u:I

    if-eq v0, v9, :cond_1a

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->e()V

    goto :goto_5

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_2
        :pswitch_1
    .end packed-switch
.end method

.method public setAdapter(Landroid/widget/BaseAdapter;)V
    .locals 1

    const-string/jumbo v0, ""

    invoke-virtual {p0, p1, v0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->setAdapter(Landroid/widget/BaseAdapter;Ljava/lang/String;)V

    return-void
.end method

.method public setAdapter(Landroid/widget/BaseAdapter;Ljava/lang/String;)V
    .locals 4

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Z:Landroid/widget/BaseAdapter;

    const-string/jumbo v0, ""

    invoke-virtual {v0, p2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->C:Ljava/text/SimpleDateFormat;

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object p2

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->d:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->getContext()Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f0804f6

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ":"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v0, Lcom/waiqin365/lightapp/view/cw;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, p0, v1, p1}, Lcom/waiqin365/lightapp/view/cw;-><init>(Lcom/waiqin365/lightapp/view/CustomDeleteListView;Landroid/content/Context;Landroid/widget/ListAdapter;)V

    invoke-super {p0, v0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->setAdapter(Landroid/widget/ListAdapter;)V

    return-void
.end method

.method public setCloseInterpolator(Landroid/view/animation/Interpolator;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->V:Landroid/view/animation/Interpolator;

    return-void
.end method

.method public setMenuCreator(Lcom/baoyz/swipemenulistview/c;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->S:Lcom/baoyz/swipemenulistview/c;

    return-void
.end method

.method public setMenuRefresh(Lcom/baoyz/swipemenulistview/i;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->T:Lcom/baoyz/swipemenulistview/i;

    return-void
.end method

.method public setNewKaoQinListAdapter(Landroid/widget/BaseAdapter;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->Z:Landroid/widget/BaseAdapter;

    return-void
.end method

.method public setOnMenuItemClickListener(Lcom/waiqin365/lightapp/view/cx;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->U:Lcom/waiqin365/lightapp/view/cx;

    return-void
.end method

.method public setOnSwipeListener(Lcom/waiqin365/lightapp/view/cy;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->R:Lcom/waiqin365/lightapp/view/cy;

    return-void
.end method

.method public setOpenInterpolator(Landroid/view/animation/Interpolator;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CustomDeleteListView;->W:Landroid/view/animation/Interpolator;

    return-void
.end method
